/**
 * @Author: ycq_work@163.com
 * @DATE: 2023/7/17
 * @Description: 
*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
#include <qDebug>

#include "../com/Dictionary.h"
#include "../Mod/objectTextModel.h"
#include "../Controller/NetWorkCom.h"

QT_BEGIN_NAMESPACE
namespace Ui
{
class MainMindow;
}
QT_END_NAMESPACE

class MainMindow: public QWidget
{
Q_OBJECT
private:
    QString fromSelect;
    QString toSelect;
    QString formText;

public:
    explicit MainMindow(QWidget *parent = nullptr);
    ~MainMindow() override;

private:
    Ui::MainMindow *ui;
    QString translation();

private slots:
    void on_translation_clicked();
    void on_fromComboBox_currentIndexChanged(int index);
    void on_toComboBox_currentIndexChanged(int index);
    void on_fromText_textChanged();
};


#endif //MAINWINDOW_H
